package exam.bean;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

public class ProjectInfo {
    private int id;
    private String projectNum;
    private String projectName;
    private String hostname;
    private String member;
    private int ranking;
    private String hostUnit;
    private Integer hostUnitId;
    private String cooperationUnit;
    private Integer cooperationUnitId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private int level;
    private int classification;
    private double totalPrice;
    private double financePrice;
    private double selfPrice;
    private int projectType;
    private int endProject;
    private String specifications;   //技术指标 => 富文本
    private Double remainPrice;
    private Date enterTime;
    private Integer enterUserId;
    private int flag;



    private List<MultipartFile> utilFiles; // 附件文件
    private List<UtilFiles> files;       //附加表数据


    private String levelStr;        //项目级别字符
    private String classificationStr; //项目类别字符
    private String projectTypeStr;     //项目类型字符
    private String enterStr;          //录入人名称

    public String getEnterStr() {
        return enterStr;
    }

    public void setEnterStr(String enterStr) {
        this.enterStr = enterStr;
    }

    public String getLevelStr() {
        return levelStr;
    }

    public void setLevelStr(String levelStr) {
        this.levelStr = levelStr;
    }

    public String getClassificationStr() {
        return classificationStr;
    }

    public void setClassificationStr(String classificationStr) {
        this.classificationStr = classificationStr;
    }

    public String getProjectTypeStr() {
        return projectTypeStr;
    }

    public void setProjectTypeStr(String projectTypeStr) {
        this.projectTypeStr = projectTypeStr;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectNum() {
        return projectNum;
    }

    public void setProjectNum(String projectNum) {
        this.projectNum = projectNum;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public int getRanking() {
        return ranking;
    }

    public void setRanking(int ranking) {
        this.ranking = ranking;
    }

    public String getHostUnit() {
        return hostUnit;
    }

    public void setHostUnit(String hostUnit) {
        this.hostUnit = hostUnit;
    }

    public String getCooperationUnit() {
        return cooperationUnit;
    }

    public void setCooperationUnit(String cooperationUnit) {
        this.cooperationUnit = cooperationUnit;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getClassification() {
        return classification;
    }

    public void setClassification(int classification) {
        this.classification = classification;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public double getFinancePrice() {
        return financePrice;
    }

    public void setFinancePrice(double financePrice) {
        this.financePrice = financePrice;
    }

    public double getSelfPrice() {
        return selfPrice;
    }

    public void setSelfPrice(double selfPrice) {
        this.selfPrice = selfPrice;
    }

    public int getProjectType() {
        return projectType;
    }

    public void setProjectType(int projectType) {
        this.projectType = projectType;
    }

    public int getEndProject() {
        return endProject;
    }

    public void setEndProject(int endProject) {
        this.endProject = endProject;
    }

    public Date getEnterTime() {
        return enterTime;
    }

    public void setEnterTime(Date enterTime) {
        this.enterTime = enterTime;
    }

    public Integer getEnterUserId() {
        return enterUserId;
    }

    public void setEnterUserId(Integer enterUserId) {
        this.enterUserId = enterUserId;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public List<MultipartFile> getUtilFiles() {
        return utilFiles;
    }

    public void setUtilFiles(List<MultipartFile> utilFiles) {
        this.utilFiles = utilFiles;
    }

    public List<UtilFiles> getFiles() {
        return files;
    }

    public void setFiles(List<UtilFiles> files) {
        this.files = files;
    }

    public Integer getHostUnitId() {
        return hostUnitId;
    }

    public void setHostUnitId(Integer hostUnitId) {
        this.hostUnitId = hostUnitId;
    }

    public Integer getCooperationUnitId() {
        return cooperationUnitId;
    }

    public void setCooperationUnitId(Integer cooperationUnitId) {
        this.cooperationUnitId = cooperationUnitId;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public Double getRemainPrice() {
        return remainPrice;
    }

    public Double setRemainPrice(Double remainPrice) {
        return this.remainPrice = remainPrice;
    }
}
